package com.fyx.entity;

import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

@Data
@Document(collection = "cdk_data")
public class CdkDataEntity {
    @Transient
    private List<Timestamp> qTime;

    @Field("id")
    private String id;

    private String channel;

    @Transient
    private String head;

    @Transient
    private List<AwardsEntity> awards;

    private ArrayList<AwardsEntity> award;

    private Long num;

    @Transient
    private int get_num;

    private Integer getted_num;

    private Long expire_time;

    private Long receive_limit;

    private boolean need_rand;

    private Long create_time;

}
